﻿@model List<SimCMS.Model.Simadmin>
<form id="pagerForm" method="post" action="/Admin/AdminList">
	<input type="hidden" name="status" value="${param.status}">
	<input type="hidden" name="keywords" value="${param.keywords}" />
	<input type="hidden" name="pageNum" value="1" />
	<input type="hidden" name="numPerPage" value="${model.numPerPage}" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
</form>


<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="demo_page1.html" method="post">
	<div class="searchBar">
		@*<table class="searchContent">
			<tr>
				<td>
					管理员姓名：<input type="text" name="keyword" />
				</td>
			</tr>
		</table>*@
	@*	<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
				<li><a class="button" href="demo_page6.html" target="dialog" mask="true" title="查询框"><span>高级检索</span></a></li>
			</ul>
		</div>*@
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="/Admin/AdminContent" target="dialog" mark="true"><span>添加</span></a></li>
			<li><a class="delete" href="/Admin/AdminDelete/{sid_user}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
			<li><a class="edit" href="/Admin/AdminContent/{sid_user}" target="dialog" mark="true"><span>修改</span></a></li>
			<li class="line">line</li>
			@*<li><a class="icon" href="demo/common/dwz-team.xls" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>*@
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="80">用户名</th>
				<th width="120">真实姓名</th>
				<th width="120">角色</th>
				<th width="100">最后登陆IP</th>
				<th width="80">最后登陆时间</th>
				<th width="120" align="center">Email</th>
			</tr>
		</thead>
		<tbody>
         @foreach (var AdminModel in Model)
         {
             <tr target="sid_user" rel="@AdminModel.Id">
				<td align="center">@AdminModel.UserName</td>
				<td align="center">@AdminModel.RealName</td>
				<td align="center">@AdminModel.Simadminrole.RoleName</td>
				<td align="center">@AdminModel.LastLoginIp</td>
				<td align="center">@AdminModel.LastLoginTime</td>
				<td align="center">@AdminModel.Email</td>
			</tr>
         }
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			@*<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20">20</option>
				<option value="50">50</option>
				<option value="100">100</option>
				<option value="200">200</option>
			</select>*@
			<span>共 @(ViewBag.Total) 条</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="@ViewBag.Total" numPerPage="@ViewBag.PageSize" pageNumShown="10" currentPage="@ViewBag.Index"></div>

	</div>
</div>
